Repository navigation
Conversation
…nent list shows every installed component, its size, and who installed it Closes #220
…g, and every listing branch is tested
… foreign AVD, and the device-list shape check is tested
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #220
simlock component list [--platform]lists every installed iOS runtime image and Android system image. Each entry has its variant, its size, whether Simlock installed it (installedAtwhen it did), Simlock's own devices of that version, and foreign devices. It is the agent readcomponent.list, alsolistComponentson the client andGET /v1/components. A gateway answersUNSUPPORTED_IN_GATEWAY_MODE.Each driver gains
listComponents(). It builds receipts with the same function asfindComponentandinstallComponent.ComponentInstaller.listcompares them to the records withsameReceipt.Not in the spec:
DriverCatalog.select(platform?), whichlistCatalognow uses too. NewFilesystem.directorySize, which does not follow symlinks.logger.Done when
simlock component list: not run. It reads the user's~/.simlockdaemon and needs the maintainer's go-ahead.e2e/component-list.test.ts. A component installed withcomponent installis listed as Simlock's, and one scripted as present is not. An agent session can list.pnpm checkis green: 2472 unit tests and 69 fake-lane e2e tests.Review
Spec review: 5 findings, 1 fixed; round 2: 5 findings, 1 fixed. Code review: 10 findings, 8 fixed; round 2: 6 findings, 4 fixed.
Rejected:
DriverCatalog.selectis not in the spec. The installer must ask every driver, andlistCatalognow uses the same function, so there is still only one.devicesandforeignDevices. Counting them twice can only make removal refuse, which is the direction ADR 0010 §8 asks for.simctl runtime list -jimages only, and Simlock never installs or removes bundled runtimes.Written by an agent.